home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2906 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1017 b 

  1. Path: sn.no!not-for-mail
  2. From: christon (Christopher Naas)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Sliiy window question
  5. Date: 6 Feb 1996 21:50:22 +0100
  6. Organization: SN Internett
  7. Message-ID: <600.6610T1288T1991@Th0r.foo.bar>
  8. References: <4enngd$e6h@news.kth.se> <482.6605T1015T1288@Th0r.foo.bar> <608.6606T474T666@jroger.in-berlin.de>
  9. NNTP-Posting-Host: sinsen.sn.no
  10. X-Newsreader: THOR 2.21 (Amiga;SOUP)
  11.  
  12. Sebastian Rittau wrote:
  13.  
  14. >>x        = window->BorderLeft;
  15. >>y        = window->BorderTop;
  16. >>width    = window->Width - window->BorderLeft - window->BorderRight;
  17. >>height   = window->Height - window->BorderTop - window->BorderBottom;
  18. >And if you have a window-title:
  19. >height = window->height - window->BorderTop - window->BorderBottom -
  20. >screen.Font->YSize
  21. You are wrong. window->BorderTop includes the title (height of font).
  22.  
  23. --
  24. Christopher Landmark Naas    o  EMail: christon@sn.no
  25. LoungeBar Development        o  WWW:   http://www.sn.no/~christon/
  26. Former Reg. Amiga Developer  o  IRC:   KarmaComa
  27.